import {getEncKey} from '@/base/utils.js'

import JiaMi from "./JiaMiUtil.js";
//封装AES加密类
const jiaMi = new JiaMi({ initKey: getEncKey("abcdefghijklmnop") });


// const iEncrpt = jiaMi.iEncrpt;
// const iEncrptParamMap = jiaMi.iEncrptParamMap;
// const digitSign = jiaMi.digitSign;
const iEncrptParam = jiaMi.iEncrptParam;
const decrptParam = jiaMi.decrptParam;
const decrptCloudAIParam = jiaMi.decrptCloudAIParam;
const digitAldSign = jiaMi.digitSign;
const digitCloudAISign = jiaMi.digitCloudAISign;
const aesEncryptAllParams = jiaMi.aesEncryptAllParams;

export {iEncrptParam,decrptParam,decrptCloudAIParam,digitAldSign,digitCloudAISign,aesEncryptAllParams}